<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Bootstrap 101 Template</title>
    <link href="./../lib/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/dis.css">
    <!-- [if lt IE 9]>
      <script src="./lib/html5shiv/html5shiv-printshiv.min.js></script>
      <script src="./lib/respond/respond.js"></script>
    <![endif] -->
</head>

<body>
    <!-- 头部 -->
    <div class="dis_header">
        <a href="./inlanddiscount.html" class="glyphicon glyphicon-menu-left black"></a>
        <p>国内折扣</p>
        <a href="javascript:;" class="load">
            <span>
                <img src="../images/header_app.png " width="34" alt="">
            </span>
        </a>
    </div>
    <!-- 商品详情 -->
    <div class="dis_content">
        <!-- 模板引擎 -->
    </div>
    <!-- 购买 -->
    <div class="dis_buy">
        <a href="javascript:;">前往购买</a>
    </div>
    <!-- 慢慢买图片-->
    <div class="dis_img">
        <img src="../images/mmbweixin2.png" alt="">
    </div>
    <!--  评论 -->
    <div class="dis_commend">
        <!-- 模板引擎 -->
    </div>
    <script src="./../lib/jquery/jquery.js"></script>
    <script src="./../lib/bootstrap/js/bootstrap.js"></script>
    <script src="../js/template-native.js"></script>
    <script src="../js/dis.js"></script>
    <!-- 折扣详情模板 -->
    <script type="text/template" id="DisList">
        <% for(var i=0;i<result.length;i++){%>
                <h4><%=result[i].productName%></h4>
                <h3><%=result[i].productPrice%></h3>
                <div class="con_tips">
                    <span><%=result[i].productFrom%></span>
                    <span><%=result[i].productTime%></span>
                    <span><%=result[i].productTips%></span>
                </div>
                <div class="con_info">
                        <%=result[i].productInfo%>
                </div>
                <div class="con_img">
                    <%=#result[i].productImg%>
                </div>
        <% } %>
    </script>
    <!-- 商品评论模板 -->
    <script type="text/template" id="CommList">
        <% for(var i=0;i<result.length;i++){%>
            <%=#result[i].productComment%>            
        <% } %>
    </script>
</body>

</html>